home *** CD-ROM | disk | FTP | other *** search
- Path: grimsel.zurich.ibm.com!usenet
- From: wgk@zurich.ibm.com (Keith Whittingham)
- Newsgroups: comp.lang.c++
- Subject: Re: fast find algoritm?
- Date: 4 Apr 1996 08:40:50 GMT
- Organization: IBM Research, ZRH
- Message-ID: <4k01ui$sl2@grimsel.zurich.ibm.com>
- References: <Dp8wE7.8E3@cix.compulink.co.uk> <4juj1r$kt8@bilbo.nask.org.pl>
- Reply-To: wgk@zurich.ibm.com
- NNTP-Posting-Host: pine.zurich.ibm.com
- X-Newsreader: IBM NewsReader/2 v1.00
-
- In <4juj1r$kt8@bilbo.nask.org.pl>, flssoft@blue.maloka.waw.pl (Grzegorz (FLS)) writes:
- >setheridge@cix.compulink.co.uk ("Stephen Etheridge") wrote:
- >
- >>Does anyone have an search algoritm faster than a binary chop for the
- >>following:
- >Yes, there is an algorithm with cost O(1). Use a hash-table. If you
- >use a good hash-function, you will have a fastest algorithm.
- >
-
- I doubt this is faster than a binary chop it the storage mechanism is
- efficient and with only 1500 entries...
-
- Keith
-
-